Generate objects with dynamic key using spread operators

welcome to shbcf.ru